


if [ ! -d luajit-2.0 ]; then 
	git clone https://git.oschina.net/wr4ng1er/luajit-2.0.git
else
	echo "luajit-2.0 file exit"
fi 


cd luajit-2.0
make 
make install PREFIX=/opt/luajit
echo "/opt/luajit/lib" > /etc/ld.so.conf.d/luajit.conf
echo "/opt/luajit/include/luajit-2.0" >> /etc/ld.so.conf.d/luajit.conf
ldconfig

cat >> /etc/profile <<EOOFFF
export LUAJIT_LIB=/opt/luajit/lib
export LUAJIT_INC=/opt/luajit/include/luajit-2.0
EOOFFF



